package wangxiaotao.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import wangxiaotao.entity.RoomType;
import wangxiaotao.mapper.RoomTypeMapper;
import wangxiaotao.service.RoomTypeService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wang
 * @since 2022-03-22
 */
@Service
public class RoomTypeServiceImpl extends ServiceImpl<RoomTypeMapper, RoomType> implements RoomTypeService {

    /**
     * 主页显示的房间类型数据
     * @return
     */
    @Override
    public List<Map<String, Object>> queryAllRoomTypeForShow() {
        return this.getBaseMapper().queryAllRoomTypeForShow();
    }
}
